<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title><%= @article ? @article.title : '张恒强的博客' %></title>
    <%= stylesheet_link_tag 'http://cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css' %>
    <%= stylesheet_link_tag 'http://cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap-theme.min.css' %>
    <%= stylesheet_link_tag 'blog.css' %>
    <%= javascript_include_tag 'http://cdn.bootcss.com/jquery/1.11.3/jquery.min.js' %>
    <%= javascript_include_tag 'http://cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js' %>
    <%= javascript_include_tag 'baidu_tongji.js' %>
  <link rel=”icon” href=”/favicon.ico” mce_href=”/favicon.ico” type=”image/x-icon”>
  <link rel=”shortcut icon” href=”/favicon.ico” mce_href=”/favicon.ico” type=”image/x-icon”>
    </head>
<body>
<div class="container">

<%= yield %>

</div>
<%= render partial:'footer',layout: false %>
</body>
</html>